package com.project.light.entity;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@lombok.Data
@Table(name = "T_Data")
public class Data implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private Integer id;

    @Column(name = "StationID")
    private Integer stationID;

    @Column(name = "SysId")
    private Integer sysId;

    @Column(name = "StationCode")
    private String stationCode;

    /**
     * 通信号
     */
    @Column(name = "CommID")
    private Integer commID;

    /**
     * 电表号
     */
    @Column(name = "MeterNumber")
    private String meterNumber;

    /**
     * A相电流
     */
    @Column(name = "Current01")
    private Double current01;

    /**
     * B相电流
     */
    @Column(name = "Current02")
    private Double current02;

    /**
     * C相电流
     */
    @Column(name = "Current03")
    private Double current03;

    /**
     * A相电压
     */
    @Column(name = "Voltage01")
    private Double voltage01;

    /**
     * B相电压
     */
    @Column(name = "Voltage02")
    private Double voltage02;

    /**
     * C相电压
     */
    @Column(name = "Voltage03")
    private Double voltage03;

    /**
     * 是否开灯
     */
    @Column(name = "DI")
    private Integer dI;

    /**
     * 电路掩码
     */
    @Column(name = "Mask")
    private Integer mask;

    /**
     * 数据时间
     */
    @Column(name = "StaDate")
    private Date staDate;

    /**
     * 电量
     */
    @Column(name = "AIData")
    private Double aIData;

    /**
     * 集控手动
     */
    @Column(name = "autoRemote")
    private Integer autoRemote;

    /**
     * 遥控自动
     */
    @Column(name = "RemoteManual")
    private Integer remoteManual;

    /**
     * GPS状态
     */
    @Column(name = "GPSStatus")
    private Integer gPSStatus;

    /**
     * PLC状态
     */
    @Column(name = "PLCStatus")
    private Integer pLCStatus;

    /**
     * 节目状态
     */
    @Column(name = "programStatus")
    private Integer programStatus;

    /**
     * 站点状态
     */
    @Column(name = "staState")
    private Integer staState;

    /**
     * 通信状态
     */
    @Column(name = "comState")
    private Integer comState;

}
